<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/reset.css">
    <link rel="stylesheet" href="../css/swiper-bundle.min.css">
    <link rel="stylesheet" href="../sass/index.css">
</head>

<body>

    <!-- 顶部搜索 -->
    <div id="herder">
        <div class="container">
            <div class="herder_logo">
                <a href="#">
                    <img src="../static/images/logo.png" alt="">
                    <div class="logoFont">
                        <p>熊猫优选</p>
                        <span>XIONG MAO YOU XUAN</span>
                    </div>
                </a>
            </div>
            <div class="herder_search">
                <input type="text" name="searchcInput" placeholder="搜索商品，发现更多优惠">
                <div class="searchBtn">搜&nbsp;索</div>
            </div>
            <div class="herder_advantage">
                <ul>
                    <li>
                        <img src="../static/images/topIcon01.png" alt="">
                        <p>全程包邮</p>
                    </li>
                    <li>
                        <img src="../static/images/topIcon02.png" alt="">
                        <p>7天退换</p>
                    </li>
                    <li>
                        <img src="../static/images/topIcon03.png" alt="">
                        <p>品质保证</p>
                    </li>
                </ul>
            </div>
            <div class="getCart">
                <div class="myCart">
                    我的购物车</div>
            </div>
        </div>
    </div>
    <!-- 动态加载nav和main -->
    <div id="xmyxDesc">

    </div>
    <!-- 回到顶部按钮 -->
    <div id="backTopBtn">
        <img src="../static/images/backTopIcon.png" alt="">
    </div>
    <!-- 底部通栏 -->
    <div id="footer">
        <div class="container">
            <div class="content">
                <img src="../static/images/logo.png" alt="">
                <div class="title">
                    <h1>熊猫优选</h1>
                    <p>年轻人网购手选<br>购物领券更省钱</p>
                </div>
                <div class="content_top_right">
                    <p>|<span>下载APP</span></p>
                </div>
            </div>
            <div class="record">
                <img src="../static/images/policeIcon.png" alt="">
                <p>浙公安网备案&nbsp;33010602009949号</p>
                <span>|</span>
                <p>ICP备案号：浙ICP备17012864号-1</p>
                <span>|</span>
                <img src="../static/images/license.png" alt="">
                <p>证照信息</p>
            </div>
        </div>
    </div>
    <!-- 认证标识 -->
    <div id="authenticationIcon">
        <a href="https://xinyong.yunaq.com/certificate?site=xiongmaoyouxuan.com">
            <img src="../static/images/authenticationIcon.png" alt="">
        </a>
    </div>
    <script src="../js/jquery-3.6.0.js"></script>
    <script src="../js/template-web.js"></script>
    <script src="../js/swiper-bundle.min.js"></script>
    <script src="../js/index.js"></script>

    <!-- 首页渲染 -->
    <script id="indexTest" type="text/html">
        <!-- 导航栏 -->
    <div id="nav">
        <div class="container">
            <ul>
                <li class="active" value="index">首页</li>
                <li value="exemptionFromPostage">9块9包邮</li>
                <li value="ticket">超值大额券</li>
                <li value="styleStyle">降温急救穿搭</li>
            </ul>
        </div>
    </div>
    <!-- 内容区 -->
    <div id="main">
        <div class="container">
            <div class="home">
                <div class="switchover">
                    <!-- 首页主图区 -->
                    <div class="indexBanner">
                        <!-- 商品分类列表 -->
                        <div class="classification">
                            <ul class="classification_ul">
                                <li>
                                    <div class="classificationItem">
                                        <img src="../static/images/Bitmap1.png" alt="">
                                        <p>女装</p>
                                        <span>/</span>
                                        <p>女鞋</p>
                                    </div>
                                </li>
                                <li>
                                    <div class="classificationItem">
                                        <img src="../static/images/Bitmap1.png" alt="">
                                        <p>男装</p>
                                        <span>/</span>
                                        <p>男鞋</p>
                                    </div>
                                </li>
                                <li>
                                    <div class="classificationItem">
                                        <img src="../static/images/Bitmap2.png" alt="">
                                        <p>美妆</p>
                                        <span>/</span>
                                        <p>个护</p>
                                    </div>
                                </li>
                                <li>
                                    <div class="classificationItem">
                                        <img src="../static/images/Bitmap3.png" alt="">
                                        <p>配饰</p>
                                        <span>/</span>
                                        <p>箱包</p>
                                    </div>
                                </li>
                                <li>
                                    <div class="classificationItem">
                                        <img src="../static/images/Bitmap4.png" alt="">
                                        <p>零食王国</p>
                                    </div>
                                </li>
                                <li>
                                    <div class="classificationItem">
                                        <img src="../static/images/Bitmap5.png" alt="">
                                        <p>母婴用品</p>
                                    </div>
                                </li>
                                <li>
                                    <div class="classificationItem">
                                        <img src="../static/images/Bitmap6.png" alt="">
                                        <p>手机</p>
                                        <span>/</span>
                                        <p>数码</p>
                                    </div>
                                </li>
                                <li>
                                    <div class="classificationItem">
                                        <img src="../static/images/Bitmap7.png" alt="">
                                        <p>内衣袜子</p>
                                    </div>
                                </li>
                                <li>
                                    <div class="classificationItem">
                                        <img src="../static/images/Bitmap8.png" alt="">
                                        <p>文娱</p>
                                        <span>/</span>
                                        <p>家居</p>
                                    </div>
                                </li>
                            </ul>
                            <div class="specificList">
                                <div class="sidebar-panel-item1">
                                    <ul>
                                        <!-- 第一项分类渲染 -->
                                    </ul>
                                </div>
                                <div class="sidebar-panel-item2">
                                    <ul>
                                        <!-- 第二项分类渲染 -->
                                    </ul>
                                </div>
                            </div>
                        </div>
                        <!-- 宣传图 -->
                        <div class="banner-content">
                            <div class="banner-content-top">
                                <div class="swiper-container">
                                    <div class="sliderItem swiper-wrapper">
                                        {{each data.banners}}
                                        <img class="swiper-slide" src="{{$value.imageUrl}}" alt="">
                                        {{/each}}
                                    </div>
                                    <!-- 如果需要分页器 -->
                                    <div class="swiper-pagination"></div>

                                    <!-- 如果需要导航按钮 -->
                                    <div class="swiper-button-prev"></div>
                                    <div class="swiper-button-next"></div>

                                    <!-- 如果需要滚动条 -->
                                    <div class="swiper-scrollbar"></div>
                                </div>
                                <div class="banner-top-right">
                                    <h3>{{data.gridsV2[0.].title}}</h3>
                                    <div>{{data.gridsV2[0].text}}</div>
                                    <img src={{data.gridsV2[0].imageUrl}} alt="">
                                </div>
                            </div>
                            <div class="banner-content-bottom">
                                <div class="banner-bottom-item1">
                                    <h3>{{data.gridsV2[2].title}}</h3>
                                    <p>{{data.gridsV2[2].text}}</p>
                                    <span class="goBtn">Go</span>
                                    <img src={{data.gridsV2[2].imageUrl}} alt="">
                                </div>
                                <div class="banner-bottom-item2">
                                    <h3>{{data.gridsV2[1].title}}</h3>
                                    <p>{{data.gridsV2[1].text}}</p>
                                    <span class="goBtn">Go</span>
                                    <img src={{data.gridsV2[1].imageUrl}} alt="">
                                </div>
                                <div class="banner-bottom-item3">
                                    <h3>扫码下载APP</h3>
                                    <p>发现更多惊喜</p>
                                    <img src="../static/images/picture04.png" alt="">
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- 列表区标题 -->
                    <div class="title-bar">
                        <h3>小编精选</h3>
                        <p>每天更新</p>
                    </div>
                </div>
                <!-- 商品列表区 -->
                <div class="choiceList">
                    <ul class="base-commodity-list">

                    </ul>
                </div>
            </div>
        </div>
    </div>
    <!-- 加载更多按钮 -->
    <div id="choice-more">
        <div class="choice-more-btn">
            查看更多</div>
    </div>
    </script>
    <!-- 商品分类yi -->
    <script id="womenWear" type="text/html">
        <li>{{data.category.name}}</li>
        {{each data.categories}}
        <li>{{$value.title}}</li>
        {{/each}}
    </script>
    <!-- 商品分类显示女鞋 -->
    <script id="womenShoes" type="text/html">
        <li>{{data.category.name}}</li>
        {{each data.categories}}
        <li>{{$value.title}}</li>
        {{/each}}
    </script>
    <script id="newProductList" type="text/html">
        {{each newProductList}}
        <li class="base-commodity-list-item" id="{{$value.id}}">
            <div class="productImage">
                <img src="{{$value.image}}" alt="">
            </div>
            <div class="commodity-card-msg">
                <div class="commodity-card-title"> {{$value.title}} </div>
                <div class="commodity-card-keyword">
                    <span class="keyword"> 淘宝 </span> <span class="free-postage"> 包邮
                    </span> </div>
                <div class="commodity-card-foot">
                    <div class="left">
                        <div class="price">
                            <span class="price-tag"> ￥ </span>
                            <span class="price-strong">
                                {{(($value.price).toString()).split('.')[0]}}</span> </span>
                            <span class="digit">. {{(($value.price).toString()).split('.')[1]}} </span>
                        </div> <span class="sale-num"> {{$value.saleNum}}人已买 </span>
                    </div> <span class="right"> {{$value.couponValue}} </span>
                </div>
            </div>
        </li>
        {{/each}}
    </script>
    <!-- 9块9页面 -->
    <script id="ninePostage" type="text/html">
        <div class="switchoverStyle">
            <h1>{{data.name}}</h1>
            <ul>
                {{each data.subColumns}}
                <li>{{$value.name}}</li>
                {{/each}}
            </ul>
        </div>
    </script>
</body>

</html>